namespace drg_group.zhejiang_2022{
    public class KB1
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={};
            String[] adrg_zd1={};
            String[] adrg_ss={"07.0000","07.0100","07.0200","07.1200","07.1200x003","07.2100","07.2101","07.2102","07.2103","07.2200","07.2201","07.2900x001","07.2900x003","07.2901","07.2902","07.3x00","07.3x01","07.4101","07.4102","07.4103","07.4200","07.4300","07.4400","07.4501","07.4900"};
            String[] adrg_ss1={};
            
            if (true && record.ssList!=null &&record.ssList.Length>0 && Base.intersect(record.ssList,adrg_ss)){
                Base.groupMessages.putMessage(record.Index,"符合KB1入组条件，匹配规则：某一手术匹配");
                    
                if (MDCK_DRG.KB11_group(record))
                {
                    return "KB11";
                }
    
                if (MDCK_DRG.KB13_group(record))
                {
                    return "KB13";
                }
    
                if (MDCK_DRG.KB15_group(record))
                {
                    return "KB15";
                }

                return "KB1";
            }else{
                return "";
            }
        }
    }
}